Skip to main content

RandomTree

RandomTree[n] gives a pseudorandom tree with n nodes.

RandomTree[n,k] gives a list of k pseudorandom trees.

RandomTree[n,{k1,k2,…}] gives a k1× k2×… array of trees.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.